#ifndef _USER_SDSPI_H
#define _USER_SDSPI_H

#include "stdint.h"

#define EXAMPLE_MAX_CHAR_SIZE    64

#define SD_MOUNT_POINT "/sdcard"

#define PIN_NUM_MISO  19
#define PIN_NUM_MOSI  23
#define PIN_NUM_CLK   18
#define PIN_NUM_CS    26


extern uint8_t sd_mount_flag;

uint32_t sdspi_write_file(const char *path, char *data);
uint32_t sdspi_read_file(const char *path);
void user_sdspi_task(void *arg);


#endif
